package com.sls.mall.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author lixue
 * @Title: ThreadPoolConfigProperties
 * @ProjectName sls_mall2021
 * @Description: TODO
 * @date 2021/5/514:20
 */
@PropertySource("classpath:application.properties")
@ConfigurationProperties(prefix = "slsmall.thread")
@Component
@Data
public class MallThreadPoolConfigProperties {

    private Integer coreSize;
    private Integer maxSize;
    private Integer keepAliveTime;
}
